package net.csdra.libraryborrowing.service.book;

import java.util.List;

/**
 * 维护副本状态正确
 * Created by msf on 2017/10/16.
 */
public interface BookCopyDispatchComponent {
    /**
     * 判断此副本是否可用
     *
     * @param bookCopyId
     * @return
     */
    public boolean getBookCopyIsActive(String bookCopyId);

    /**
     * 移除副本占用状态
     *
     * @param bookCopyId
     */
    public void setBookCopyActiveIsTrue(String bookCopyId);
}
